﻿/* ######################################## *\
 * ### Copyright (C) 2009 AJ Ravindiran ### *
\* ######################################## */
using System;

using AJRavindiran.Jolt.RuneScape.Models.Characters;

namespace AJRavindiran.Jolt.RuneScape.Network.Packets.Handlers
{
    /// <summary>
    /// Represents a interface for packet handling.
    /// </summary>
    public interface IPacketHandler
    {
        /// <summary>
        /// Default setup for all packets.
        /// </summary>
        /// <param name="character">The character the packet should be handled for.</param>
        /// <param name="packetId">The packet id to handle.</param>
        /// <param name="packetSize">The ammount of bytes being recieved.</param>
        void HandlePacket(Character character, int packetId, int packetSize);
    }
}
